import request from '@/utils/request'

// 查询公益捐献反馈列表
export function listPublic_feedback(query) {
    return request({
        url: '/system/public_feedback/list',
        method: 'get',
        params: query
    })
}

// 查询公益捐献反馈详细
export function getPublic_feedback(id) {
    return request({
        url: '/system/public_feedback/' + id,
        method: 'get'
    })
}

// 新增公益捐献反馈
export function addPublic_feedback(data) {
    return request({
        url: '/system/public_feedback',
        method: 'post',
        data: data
    })
}

// 修改公益捐献反馈
export function updatePublic_feedback(data) {
    return request({
        url: '/system/public_feedback',
        method: 'put',
        data: data
    })
}

// 删除公益捐献反馈
export function delPublic_feedback(id) {
    return request({
        url: '/system/public_feedback/' + id,
        method: 'delete'
    })
}
